import './App.css'
import {BrowserRouter, Route, Routes} from "react-router-dom";
import Home from "./view/Home/Home.jsx";
import Settings from "./view/Settings/Settings.jsx";
import Profile from "./view/Profile/Profile.jsx";
import Login from "./view/Login/Login.jsx";

export default function App() {
    return (
        <BrowserRouter>
            <Routes>
                <Route path="/" element={<Home/>}>
                    <Route path="profile" element={<Profile/>}/>
                    <Route path="settings" element={<Settings/>}/>
                </Route>
                <Route path="/login" element={<Login/>}/>
            </Routes>
        </BrowserRouter>
    );
}